/**
 * Applikationsutveckling i Java, 5DV135
 * HT12
 * Project
 *
 * File: Field.java
 * Description: An Interface for implementing tiles
 * 				in a game.
 * Date: 18 december 2012
 *
 * cs-user: dv11mgr
 * @author Maria Gramner
 */
package nullInvader.Engine;
import java.awt.Image;


public interface Field {

    /**
     * Method to check whether or not is possible to walk
     * on the field
     * @return boolean
     */
    public boolean isMovable();


    /**
     * Method to place an effect on the unit when it walks on
     * the field
     * @param unit the Unit which is currently on the field
     */
    public void landOn(Unit unit);


    /**
     * Method to extract the image representing the field
     * @return Image
     */
    public Image getIcon();


    /**
     * Method to control any effect which may occur when the field
     * is being clicked on.
     */
    public void wasClicked();
}
